package com.openess.bigsearch.engine.DAO;

import java.io.Closeable;
import java.sql.SQLException;

import com.openess.bigsearch.engine.search.IndexSearcher.DocScore;

public interface DBManager extends Closeable {
	public enum Type {
		INDEX, SEARCH
	}

	/**
	 * 每次调用都是读取下一条数据
	 * 
	 * @return
	 * @throws SQLException
	 */
	DBData readDBData();
}
